/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ericsson.nfc.signing.certificate;

import com.ericsson.nfc.signing.record.CertificateBytes;
import java.io.IOException;

//#ifdef MyJSR257
//# import my.javax.microedition.contactless.ndef.NDEFRecordType;
//#else
import javax.microedition.contactless.ndef.NDEFRecordType;
//#endif

/**
 *
 * @author emarkki
 */
public abstract class CertificateChainFactory {
    
    public abstract CertificateChain createInstance(NDEFRecordType signatureRecordType, int certificateFormat, CertificateBytes[] chainBytes) throws IOException; // TODO: exception handling
    
}
